package org.example.petitionplatformsystem.service;

import org.example.petitionplatformsystem.dao.model.KnowledgeBase;

import java.util.List;

public interface KnowledgeBaseService {
    void addKnowledgeBase(KnowledgeBase knowledgeBase);

    void updateKnowledgeBase(KnowledgeBase knowledgeBase);

    void deleteKnowledgeBase(KnowledgeBase knowledgeBase);

    KnowledgeBase getKnowledgeBaseById(long id);

    List<KnowledgeBase> getAllKnowledgeBases();
}
